package com.ml.mall.bean.req.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @description 添加配套dto
 * @author yx
 * @date 2021/9/15
 * @version 1.0
*/
@ApiModel("添加配套dto")
@Data
public class SysSubscriptionNewDto {

    @ApiModelProperty("配套名")
    @NotBlank(message = "配套名不可为空")
    private String subName;

    @ApiModelProperty("配套描述")
    @NotBlank(message = "配套描述不可为空")
    private String description;

    @ApiModelProperty("配套路由id")
    private List<Long> routingIds;

    @ApiModelProperty("角色类型")
    @NotNull(message = "角色类型不可为空")
    private Integer roleType;

    @ApiModelProperty("人数限制")
    @NotNull(message = "人数限制不可为空")
    private Integer limitUserNum;
}
